package com.bw.service;

import com.bw.mapper.GmallDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class GmallServiceImp implements GmallService {
    @Autowired(required = false)
    GmallDao gmallDao;
    @Override
    public List<Map> sumPro(String nowDate) {
        return gmallDao.sumPro(nowDate);
    }

    @Override
    public List<Map> sumBrand(String nowDate) {
        return gmallDao.sumBrand(nowDate);
    }

    @Override
    public List<Map> sumCategory(String nowDate) {
        return gmallDao.sumCategory(nowDate);
    }

    @Override
    public List<Map> isNew(String nowDate) {
        return gmallDao.isNew(nowDate);
    }
}
